﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace HuiLian.Model.Platform
{
    /// <summary>
    /// 实时报警确认记录
    /// </summary>
    [Table(Name = "ad_hdl_scada_alarm_real_time_acrs")]
    public class HdlScadaAlarmRealTimeAcrsEntity
    {
        /// <summary>
        /// 报警记录ID
        /// </summary>
        public string alarmid { get; set; }

        /// <summary>
        /// 确认人
        /// </summary>
        public string confirmer { get; set; }

        /// <summary>
        /// 人工确认时间
        /// </summary>
        public long? confirmtime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 谁转发(此字段不为空代表是别人督促过来的)
        /// </summary>
        public string transmit_man { get; set; }

        /// <summary>
        /// 转发时间
        /// </summary>
        public long? transmit_time { get; set; }

        [Navigate(nameof(alarmid))]
        public HdlScadaAlarmRealTimeEntity HdlScadaAlarmRealTime { get; set; }
    }
}
